package com.yxq.mdt.app.modules.personal.bean;

import com.yxq.mdt.app.modules.socialcontact.bean.MainSocialHeadBean;

import java.util.List;

/**
 * @author L
 * @time 2019-11-25
 * @describe 圈子$
 */
public class GroupBean {

    /**
     * pages : 1
     * list : [{"membersOnly":false,"groupCreateTime":"2019-03-06 15:00:04","description":"测试修改数据","menberNum":3,"allowinvites":false,"ifOwner":true,"id":"70248423292930","publicStr":false,"orgId":"1","groupname":"管-团-业-个人零售名称[已关注]","owner":"jbx110214","background":"d.img","sort":1,"maxusers":100,"logo":"s.img","approval":false,"groupType":"0","groupUpdateTime":"2019-03-06 15:00:04","inviteNeedConfirm":false,"menberList":[{"owner":true,"userName":"管-团-业-个人零售名称","groupId":"70248423292930","memberId":"jbx110214","id":409,"userId":"2524","black":false,"admin":false,"headimg":"http://lyzbimage.jbxgo.com/lyzbjbxgo/system/config/default_image/default_user_portrait_0.png","banned":false,"shopName":"店铺名称","shopAddress":"重庆市江北区"}],"CharacterTypeHelper":"1","banned":false},{"membersOnly":false,"groupCreateTime":"2019-03-06 11:40:29","description":"群组描述","menberNum":1,"allowinvites":false,"ifOwner":true,"id":"70248425390081","publicStr":false,"orgId":"1","groupname":"管-团-业-个人零售名称[已购买]","owner":"jbx110214","background":"","sort":2,"maxusers":2000,"logo":"http://lyzbimage.jbxgo.com/lyzbjbxgo/system/config/default_image/default_user_portrait_0.png","approval":false,"groupType":"0","groupUpdateTime":"2019-03-06 11:40:29","inviteNeedConfirm":false,"menberList":[{"owner":false,"userName":"JBX150CRMI0899","groupId":"70248423292930","memberId":"jbx110381","id":421,"userId":"110381","black":false,"admin":false,"headimg":"http://lyzbimage.jbxgo.com/lyzbjbxgo/system/config/default_image/default_user_portrait_0.png","banned":false,"shopName":"店铺名称","shopAddress":"重庆市江北区"}],"CharacterTypeHelper":"2","banned":false},{"membersOnly":false,"groupCreateTime":"2019-03-06 11:40:29","description":"群组描述","menberNum":1,"allowinvites":false,"ifOwner":true,"id":"70248426438657","publicStr":false,"orgId":"1","groupname":"管-团-业-个人零售名称[已加购]","owner":"jbx110214","background":"","sort":3,"maxusers":2000,"logo":"http://lyzbimage.jbxgo.com/lyzbjbxgo/system/config/default_image/default_user_portrait_0.png","approval":false,"groupType":"0","groupUpdateTime":"2019-03-06 11:40:29","inviteNeedConfirm":false,"menberList":[{"owner":false,"userName":"song734141786","groupId":"70248423292930","memberId":"jbx95785","id":494,"userId":"95785","black":false,"admin":false,"headimg":"http://lyzbimage.jbxgo.com/lyzbjbxgo/system/config/default_image/default_user_portrait_0.png","banned":false,"shopName":"店铺名称","shopAddress":"重庆市江北区"}],"CharacterTypeHelper":"3","banned":false},{"membersOnly":false,"groupCreateTime":"2019-03-06 11:40:29","description":"群组描述","menberNum":1,"allowinvites":false,"ifOwner":true,"id":"70248428535809","publicStr":false,"orgId":"1","groupname":"管-团-业-个人零售名称[集采会员]","owner":"jbx110214","background":"","sort":4,"maxusers":2000,"logo":"http://lyzbimage.jbxgo.com/lyzbjbxgo/system/config/default_image/default_user_portrait_0.png","approval":false,"groupType":"0","groupUpdateTime":"2019-03-06 11:40:29","inviteNeedConfirm":false,"menberList":[{"owner":true,"userName":"管-团-业-个人零售名称","groupId":"70248423292930","memberId":"jbx110214","id":409,"userId":"2524","black":false,"admin":false,"headimg":"http://lyzbimage.jbxgo.com/lyzbjbxgo/system/config/default_image/default_user_portrait_0.png","banned":false,"shopName":"店铺名称","shopAddress":"重庆市江北区"}],"CharacterTypeHelper":"4","banned":false},{"membersOnly":false,"groupCreateTime":"2019-03-06 11:40:29","description":"群组描述","menberNum":2,"allowinvites":false,"ifOwner":false,"id":"70248949678082","publicStr":false,"orgId":"1","groupname":"H[已关注]","owner":"jbx26943","background":"","sort":1,"maxusers":2000,"logo":"/shop/1566/images/2018/12/25/15457244559516.jpg","approval":false,"groupType":"0","groupUpdateTime":"2019-03-06 11:40:29","inviteNeedConfirm":false,"menberList":[{"owner":false,"userName":"JBX150CRMI0899","groupId":"70248423292930","memberId":"jbx110381","id":421,"userId":"110381","black":false,"admin":false,"headimg":"http://lyzbimage.jbxgo.com/lyzbjbxgo/system/config/default_image/default_user_portrait_0.png","banned":false,"shopName":"店铺名称","shopAddress":"重庆市江北区"}],"CharacterTypeHelper":"1","banned":false},{"membersOnly":false,"groupCreateTime":"undefined","description":"undefined","menberNum":1,"allowinvites":true,"ifOwner":true,"id":"75986894913537","publicStr":true,"orgId":"1","groupname":"测试圈子","owner":"jbx110214","background":"d.img","sort":1,"maxusers":100,"logo":"s.img","approval":false,"groupType":"0","groupUpdateTime":"undefined","inviteNeedConfirm":true,"menberList":[{"owner":false,"userName":"song734141786","groupId":"70248423292930","memberId":"jbx95785","id":494,"userId":"95785","black":false,"admin":false,"headimg":"http://lyzbimage.jbxgo.com/lyzbjbxgo/system/config/default_image/default_user_portrait_0.png","banned":false,"shopName":"店铺名称","shopAddress":"重庆市江北区"}],"CharacterTypeHelper":"9999","banned":false},{"membersOnly":false,"groupCreateTime":"undefined","description":"测试修改数据","menberNum":1,"allowinvites":true,"ifOwner":true,"id":"75987029131266","publicStr":true,"orgId":"1","groupname":"测试圈子","owner":"jbx110214","background":"d.img","sort":1,"maxusers":100,"logo":"s.img","approval":false,"groupType":"0","groupUpdateTime":"undefined","inviteNeedConfirm":true,"menberList":[{"owner":true,"userName":"管-团-业-个人零售名称","groupId":"70248423292930","memberId":"jbx110214","id":409,"userId":"2524","black":false,"admin":false,"headimg":"http://lyzbimage.jbxgo.com/lyzbjbxgo/system/config/default_image/default_user_portrait_0.png","banned":false,"shopName":"店铺名称","shopAddress":"重庆市江北区"}],"CharacterTypeHelper":"9999","banned":false}]
     * total : 5
     * pageNum : 1
     * pageSize : 30
     */

    private int pages;
    private int total;
    private int pageNum;
    private int pageSize;
    private List<ListBean> list;

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * membersOnly : false
         * groupCreateTime : 2019-03-06 15:00:04
         * description : 测试修改数据
         * menberNum : 3
         * allowinvites : false
         * ifOwner : true
         * id : 70248423292930
         * publicStr : false
         * orgId : 1
         * groupname : 管-团-业-个人零售名称[已关注]
         * owner : jbx110214
         * background : d.img
         * sort : 1
         * maxusers : 100
         * logo : s.img
         * approval : false
         * groupType : 0
         * groupUpdateTime : 2019-03-06 15:00:04
         * inviteNeedConfirm : false
         * menberList : [{"owner":true,"userName":"管-团-业-个人零售名称","groupId":"70248423292930","memberId":"jbx110214","id":409,"userId":"2524","black":false,"admin":false,"headimg":"http://lyzbimage.jbxgo.com/lyzbjbxgo/system/config/default_image/default_user_portrait_0.png","banned":false,"shopName":"店铺名称","shopAddress":"重庆市江北区"}]
         * CharacterTypeHelper : 1
         * banned : false
         */

        private boolean membersOnly;
        private String groupCreateTime;
        private String description;
        private int menberNum;
        private boolean allowinvites;
        private boolean ifOwner;
        private String id;
        private boolean publicStr;
        private String orgId;
        private String groupname;
        private String owner;
        private String background;
        private int sort;
        private int maxusers;
        private String logo;
        private boolean approval;
        private String groupType;
        private String groupUpdateTime;
        private boolean inviteNeedConfirm;
        private String type;
        private boolean banned;
        private List<MenberListBean> menberList;
        private MainSocialHeadBean.OwnerVoBean ownerVo;
        private  int dynamicNum;

        public int getDynamicNum() {
            return dynamicNum;
        }

        public void setDynamicNum(int dynamicNum) {
            this.dynamicNum = dynamicNum;
        }

        public boolean isMembersOnly() {
            return membersOnly;
        }

        public void setMembersOnly(boolean membersOnly) {
            this.membersOnly = membersOnly;
        }

        public String getGroupCreateTime() {
            return groupCreateTime;
        }

        public void setGroupCreateTime(String groupCreateTime) {
            this.groupCreateTime = groupCreateTime;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public int getMenberNum() {
            return menberNum;
        }

        public void setMenberNum(int menberNum) {
            this.menberNum = menberNum;
        }

        public boolean isAllowinvites() {
            return allowinvites;
        }

        public void setAllowinvites(boolean allowinvites) {
            this.allowinvites = allowinvites;
        }

        public boolean isIfOwner() {
            return ifOwner;
        }

        public void setIfOwner(boolean ifOwner) {
            this.ifOwner = ifOwner;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isPublicStr() {
            return publicStr;
        }

        public void setPublicStr(boolean publicStr) {
            this.publicStr = publicStr;
        }

        public String getOrgId() {
            return orgId;
        }

        public void setOrgId(String orgId) {
            this.orgId = orgId;
        }

        public String getGroupname() {
            return groupname;
        }

        public void setGroupname(String groupname) {
            this.groupname = groupname;
        }

        public String getOwner() {
            return owner;
        }

        public void setOwner(String owner) {
            this.owner = owner;
        }

        public void setOwnerVo(MainSocialHeadBean.OwnerVoBean ownerVo) {
            this.ownerVo = ownerVo;
        }

        public MainSocialHeadBean.OwnerVoBean getOwnerVo() {
            return ownerVo;
        }

        public String getBackground() {
            return background;
        }

        public void setBackground(String background) {
            this.background = background;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public int getMaxusers() {
            return maxusers;
        }

        public void setMaxusers(int maxusers) {
            this.maxusers = maxusers;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public boolean isApproval() {
            return approval;
        }

        public void setApproval(boolean approval) {
            this.approval = approval;
        }

        public String getGroupType() {
            return groupType;
        }

        public void setGroupType(String groupType) {
            this.groupType = groupType;
        }

        public String getGroupUpdateTime() {
            return groupUpdateTime;
        }

        public void setGroupUpdateTime(String groupUpdateTime) {
            this.groupUpdateTime = groupUpdateTime;
        }

        public boolean isInviteNeedConfirm() {
            return inviteNeedConfirm;
        }

        public void setInviteNeedConfirm(boolean inviteNeedConfirm) {
            this.inviteNeedConfirm = inviteNeedConfirm;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public boolean isBanned() {
            return banned;
        }

        public void setBanned(boolean banned) {
            this.banned = banned;
        }

        public List<MenberListBean> getMenberList() {
            return menberList;
        }

        public void setMenberList(List<MenberListBean> menberList) {
            this.menberList = menberList;
        }

        public static class OwnerVoBean {
            /**
             * pageNum : 1
             * extPageSize : 30
             * childPageSize : 1
             * id : 13
             * groupId : 94555310456833
             * memberId : yxq110851
             * banned : false
             * admin : false
             * owner : true
             * black : false
             * pass : true
             * headimg : https://yxqoss.oss-cn-hangzhou.aliyuncs.com/init/group/groupOwner.png
             * company : 0
             */

            private int pageNum;
            private int extPageSize;
            private int childPageSize;
            private int id;
            private String groupId;
            private String memberId;
            private boolean banned;
            private boolean admin;
            private boolean owner;
            private boolean black;
            private boolean pass;
            private String headimg;
            private int company;
            private String userName;

            public void setUserName(String userName) {
                this.userName = userName;
            }

            public String getUserName() {
                return userName;
            }

            public int getPageNum() {
                return pageNum;
            }

            public void setPageNum(int pageNum) {
                this.pageNum = pageNum;
            }

            public int getExtPageSize() {
                return extPageSize;
            }

            public void setExtPageSize(int extPageSize) {
                this.extPageSize = extPageSize;
            }

            public int getChildPageSize() {
                return childPageSize;
            }

            public void setChildPageSize(int childPageSize) {
                this.childPageSize = childPageSize;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getGroupId() {
                return groupId;
            }

            public void setGroupId(String groupId) {
                this.groupId = groupId;
            }

            public String getMemberId() {
                return memberId;
            }

            public void setMemberId(String memberId) {
                this.memberId = memberId;
            }

            public boolean isBanned() {
                return banned;
            }

            public void setBanned(boolean banned) {
                this.banned = banned;
            }

            public boolean isAdmin() {
                return admin;
            }

            public void setAdmin(boolean admin) {
                this.admin = admin;
            }

            public boolean isOwner() {
                return owner;
            }

            public void setOwner(boolean owner) {
                this.owner = owner;
            }

            public boolean isBlack() {
                return black;
            }

            public void setBlack(boolean black) {
                this.black = black;
            }

            public boolean isPass() {
                return pass;
            }

            public void setPass(boolean pass) {
                this.pass = pass;
            }

            public String getHeadimg() {
                return headimg;
            }

            public void setHeadimg(String headimg) {
                this.headimg = headimg;
            }

            public int getCompany() {
                return company;
            }

            public void setCompany(int company) {
                this.company = company;
            }
        }

        public static class MenberListBean {
            /**
             * owner : true
             * userName : 管-团-业-个人零售名称
             * groupId : 70248423292930
             * memberId : jbx110214
             * id : 409
             * userId : 2524
             * black : false
             * admin : false
             * headimg : http://lyzbimage.jbxgo.com/lyzbjbxgo/system/config/default_image/default_user_portrait_0.png
             * banned : false
             * shopName : 店铺名称
             * shopAddress : 重庆市江北区
             */

            private boolean owner;
            private String userName;
            private String groupId;
            private String memberId;
            private int id;
            private String userId;
            private boolean black;
            private boolean admin;
            private String headimg;
            private boolean banned;
            private String shopName;
            private String shopAddress;

            public boolean isOwner() {
                return owner;
            }

            public void setOwner(boolean owner) {
                this.owner = owner;
            }

            public String getUserName() {
                return userName;
            }

            public void setUserName(String userName) {
                this.userName = userName;
            }

            public String getGroupId() {
                return groupId;
            }

            public void setGroupId(String groupId) {
                this.groupId = groupId;
            }

            public String getMemberId() {
                return memberId;
            }

            public void setMemberId(String memberId) {
                this.memberId = memberId;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public boolean isBlack() {
                return black;
            }

            public void setBlack(boolean black) {
                this.black = black;
            }

            public boolean isAdmin() {
                return admin;
            }

            public void setAdmin(boolean admin) {
                this.admin = admin;
            }

            public String getHeadimg() {
                return headimg;
            }

            public void setHeadimg(String headimg) {
                this.headimg = headimg;
            }

            public boolean isBanned() {
                return banned;
            }

            public void setBanned(boolean banned) {
                this.banned = banned;
            }

            public String getShopName() {
                return shopName;
            }

            public void setShopName(String shopName) {
                this.shopName = shopName;
            }

            public String getShopAddress() {
                return shopAddress;
            }

            public void setShopAddress(String shopAddress) {
                this.shopAddress = shopAddress;
            }
        }
    }
}
